import Mock from 'mockjs'
import dashAPI from './dashboard'
import remoteSearchAPI from './remoteSearch'

Mock.setup({
  timeout: '350-600'
})

// dashboard相关
Mock.mock(/\/dashboard\/citylist/, 'get', dashAPI.getList)
Mock.mock(/\/dashboard\/product/, 'get', dashAPI.product)
Mock.mock(/\/dashboard\/monitor/, 'get', dashAPI.monitor)
Mock.mock(/\/dashboard\/getmapList/, 'get', dashAPI.getmapList)
Mock.mock(/\/dashboard\/getDataMapList/, 'get', dashAPI.getDataMapList)

// 搜索相关
Mock.mock(/\/search\/user/, 'get', remoteSearchAPI.searchUser)

export default Mock
